home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 007a / cug315.zip / FTGRAPH.H < prev    next >
C/C++ Source or Header  |  1990-05-16  |  997b  |  35 lines

  1.  
  2. #ifndef FTGRAPH_H
  3. #define FTGRAPH_H
  4.  
  5. typedef void (* funcptr)(); /* pointer to a function definition */
  6. typedef char * (* getsfuncptr)();   /* pointer to a gets()-style func */
  7. typedef int (* intptr)();   /* pointer to getch()-style function */
  8.  
  9.     /* CONFIG_FILE is the name of the configuration file you will use. */
  10.     /* if you want to compile a new version of NMGRAPH, you should either */
  11.     /* substitute NMGRAPH.CNF for FTGRAPH.CNF or use FTGRAPH.EXE as the name */
  12.     /* for the non-mouse version of the program. */
  13.  
  14. #define CONFIG_FILE  "ftgraph.cnf"
  15.  
  16.  
  17.     /* just a list of various flags used in the program */
  18. #define ALL 1
  19. #define POS 2
  20. #define XY 1
  21. #define AMP 2
  22. #define POWER 3
  23. #define HPGL_BAR 1
  24. #define HPGL_LINE 2
  25. #define GRAPH_BAR 3
  26. #define GRAPH_LINE 4
  27. #define MOUSE_OFF 0
  28. #define MOUSE_ON 1
  29. #define LOWPASS 1
  30. #define HIGHPASS 2
  31. #define PTS_PER_LINE 3  /* number of data points to print on each line */
  32.             /* of printer output */
  33.  
  34. #endif
  35.